/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ticket.samelevelteach.service;

import java.util.List;

import com.jeeplus.modules.ticket.schleamiddlecadres.entity.SchoolleaderMiddlecadres;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.ticket.samelevelteach.entity.SamelevelTeach;
import com.jeeplus.modules.ticket.samelevelteach.mapper.SamelevelTeachMapper;

/**
 * 评价中层干部Service
 * @author 刘明星
 * @version 2021-09-15
 */
@Service
@Transactional(readOnly = true)
public class SamelevelTeachService extends CrudService<SamelevelTeachMapper, SamelevelTeach> {

	public SamelevelTeach get(String id) {
		return super.get(id);
	}
	
	public List<SamelevelTeach> findList(SamelevelTeach samelevelTeach) {
		return super.findList(samelevelTeach);
	}
	
	public Page<SamelevelTeach> findPage(Page<SamelevelTeach> page, SamelevelTeach samelevelTeach) {
		return super.findPage(page, samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateGood(SamelevelTeach samelevelTeach){
		mapper.updateGood(samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateCompetent(SamelevelTeach samelevelTeach){
		mapper.updateCompetent(samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateBasisCompetentList(SamelevelTeach samelevelTeach){
		mapper.updateBasisCompetentList(samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateNoCompetentList(SamelevelTeach samelevelTeach){
		mapper.updateNoCompetentList(samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakGood(SamelevelTeach samelevelTeach){
		mapper.updateSpeakGood(samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakCompetent(SamelevelTeach samelevelTeach){
		mapper.updateSpeakCompetent(samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakBasisCompetentList(SamelevelTeach samelevelTeach){
		mapper.updateSpeakBasisCompetentList(samelevelTeach);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakNoCompetentList(SamelevelTeach samelevelTeach){
		mapper.updateSpeakNoCompetentList(samelevelTeach);
	}
	@Transactional(readOnly = false)
	public void save(SamelevelTeach samelevelTeach) {
		super.save(samelevelTeach);
	}
	
	@Transactional(readOnly = false)
	public void delete(SamelevelTeach samelevelTeach) {
		super.delete(samelevelTeach);
	}
	
}